<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>日期控件</title>
    <link rel="stylesheet" href="https://tstatic.dgg.net/static/plugs/layui/css/layui.min.css">
    <link rel="stylesheet" href="https://tstatic.dgg.net/static/css/dgg-iboss.min.css">
</head>

<input type="text" class="Wdate input-style" disabled;  placeholder="开始日期" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})">
</br></br>
起始日期功能：
<input type="text" class="Wdate input-style" placeholder="开始日期" id="startCreateTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'endCreateTime\')}'})">
-
<input type="text" class="Wdate input-style" placeholder="结束日期" id="endCreateTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'startCreateTime\')}'})">
<script src="https://tstatic.dgg.net/static/plugs/jquery/jquery-1.9.1.min.js"></script>
<script src="https://tstatic.dgg.net/static/plugs/date-picker/WdatePicker.js"></script>
</body>
</html>